A graphical presentation of MLF types with a linear - time local unification algorithm

نویسندگان

  • Boris Yakobowski
  • Didier Rémy
چکیده

MLF is a language that extends ML and System F and combines the benefits of both. We propose a dag representation of MLF types that superposes a term-dag, encoding the underlying term structure with sharing, and a tree encoding the binding structure. Compared to the original definition, this representation is more canonical as it factors out most of the notational details; it is also closely related to first-order terms. Moreover, it permits a simpler and more direct definition of type instance that combines type instance on firstorder term-dags, simple operations on the binding tree, and a control that allows or rejects potential instances. Using this representation, we build a local linear-time unification algorithm for MLF types, which we prove sound and complete with respect to the specification. Key-words: System F, MLF, Unification, Types, Graphs, Binders Une présentation par graphes de MLF avec un algorithme d’unification local linéaire Résumé : MLF est un langage qui étend ML et le système F, tout en combinant les avantages des deux systèmes. Nous proposons une représentation par dag des types de MLF, qui superpose un dag encodant la structure sous-jacente de terme avec partage explicite, et un arbre encodant la structure des lieurs. Comparée à la définition originelle, cette représentation est plus canonique, car elle évite la plupart des détails de notation; elle est également très proche de celle utilisée pour les termes du premier ordre. Par ailleurs, elle permet une définition plus simple et plus directe de la relation d’instance entre types, en combinant instance sur les types du premier ordre, des opérations simples sur l’arbre des lieurs, et un contrôle de permissions qui autorise ou rejette certaines instances. En utilisant cette représentation, nous construisons un algorithme d’unification incrémental et de complexité linéaire. Nous prouvons celui-ci correct et complet vis-à-vis de sa spécification. Mots-clés : Système F, MLF, Unification, Types, Graphes, Lieurs A graphical presentation of MLF types with a linear-time local unification algorithm. 3

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A graphical presentation of MLF types with a linear - time local unification algorithm . Draft

MLF is a language that extends ML and System F and combines the benefits of both. We propose a dag representation of MLF types that superposes a term-dag, encoding the underlying term structure with sharing, and a tree encoding the binding structure. Compared to the original definition, this representation is more canonical, as it factors out most of the notational details; it is also closely r...

متن کامل

Recasting MLF

The language MLF has been proposed as an alternative to System F that permits partial type inference a la ML. It differs from System F by its types and type-instance relation. Unfortunately, the definition of type instance is only syntactic, and not underpinned by some underlying semantics. It has so far only been justified a posteriori by the type soundness result. In this work, we revisit MLF...

متن کامل

The Impact of Three Feedback Types on Postgraduate TEFL Student Teachers’ Writing Accuracy and Organization

One skill that student teachers need to develop during their academic studies is the capacity to produce accurate and well-organized texts. This study reports on the comparative impact of metalinguistic feedback (MLF), teacher interactive feedback (TIF(, and the peer-feedback (PF) on the accuracy and organization of postgraduate ELT student teachers’ writing. The participants were 57 postgradua...

متن کامل

Graphic Type Constraints and Efficient Type Inference : from ML to MLF Draft Long Version

MLF is a type system that seamlessly merges ML-style type inference with System-F polymorphism. We propose a system of graphic (type) constraints that can be used to perform type inference in both ML or MLF. We show that this constraint system is a small extension of the formalism of graphic types, originally introduced to represent MLF types. We give a few semantic preserving transformations o...

متن کامل

Presentation of quasi-linear piecewise selected models simultaneously with designing of bump-less optimal robust controller for nonlinear vibration control of composite plates

The idea of using quasi-linear piecewise models has been established on the decomposition of complicated nonlinear systems, simultaneously designing with local controllers. Since the proper performance and the final system close loop stability are vital in multi-model controllers designing, the main problem in multi-model controllers is the number of the local models and their position not payi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007